import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import "amfe-flexible";

//图片地址
Vue.prototype.IMG_URL = 'https://lingdaoyi.net/img';

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

import TopBar from "./components/TopBar";
Vue.component("TopBar",TopBar);

import * as echarts from 'echarts';
Vue.prototype.$echarts = echarts;

let isProduction = process.env.NODE_ENV == 'production';

/*import Vconsole from 'vconsole'
Vue.use(vConsole);
if(isProduction){
  let vConsole = new Vconsole();
}*/



Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
